//引入storeBinding，创建绑定仓库的behavior
import {BehaviorWithStore} from 'mobx-miniprogram-bindings'
import {useStore} from '@/store/userstore'
export const userBehavior = BehaviorWithStore({
  storeBindings:{
    store:useStore,
    fields:['token']
  }
})